export default {
    ossPrivateURI: 'https://funkey-private.oss-cn-shenzhen.aliyuncs.com',
    ossPublicURI: 'https://funkey-public.oss-cn-shenzhen.aliyuncs.com',
    // serverURI: 'https://manage2.funkey.asia',
    //serverURI: process.env.NODE_ENV === 'development' ? 'http://localhost:8082' : '',
    serverURI: process.env.NODE_ENV === 'development' ? 'https://manage2training.funkey.asia' : '',
    // serverURI: '',
    // 所有API地址
    api: {
        overview: '/funkey/api/overview',
        // login
        login: '/accounts/check_creds/',
        // login: '/accounts/login/?next=/',
        logout: '/accounts/logout/',
        auth: '/funkey/api/auth',
        change_password: '/funkey/api/change_password',
        dashboard: '/funkey/api/dashboard',
        // pages
        insert_order: '/room_calendar/ical/insert/',
        host_list: '/funkey/api/host_list',
        company_list: '/funkey/api/company_list',
        clean_list: '/room_calendar/ical/clean_list/',
        get_lids_by_pid: '/room_calendar/ical/pid2lid',
        get_pids_by_lid: '/room_calendar/ical/lid2pid',
        bussiness_support_list: '/funkey/api/bussiness_support_list',
        upload_image: '/funkey/api/upload',
        // notification
        tasks_notification: '/funkey/api/get_tasks_notification',
        notification: '/funkey/api/notification',
        seen_notification: '/funkey/api/seen_notification',
        repeat_order: '/funkey/api/repeat_order',
        repeat_ical: '/funkey/api/repeat_ical',
        order_exp: '/funkey/api/order_exp',
        query_table: '/funkey/api/query_table',
        query_curve: '/funkey/api/query_curve',
        // calendar
        get_events3: '/room_calendar/events3/',
        get_events: '/room_calendar/events2/',
        get_ics_urls: '/room_calendar/ics/urls2/',
        add_ics_url: '/room_calendar/ics/url/add',
        remove_ics_url: '/room_calendar/ics/url/remove',
        update_ics_url: '/room_calendar/ics/url/update',
        delete_ical: '/room_calendar/ical/icallist_delete',
        update_ical: '/room_calendar/ical/update2/',
        update_logical_ical: '/room_calendar/ical/update_logical_ical/',
        rule_out_ical: '/room_calendar/ical/rule/out/',
        all_events: '/room_calendar/all_events/',
        // chat
        msg_list: '/funkey_chat/api/msg_list',
        chat_list: '/funkey_chat/api/chat_list',
        chat_input: '/funkey_chat/api/chat_input',
        seen_chat: '/funkey_chat/api/seen_chat',
        chat_related_info: '/funkey_chat/api/chat_related_info',
        replied_chat: '/funkey_chat/api/replied_chat',
        set_chat_related_item: '/funkey_chat/api/set_chat_related_item',
        mailbox_list: '/funkey_chat/api/mailbox_list',
        set_chat_label: '/funkey_chat/api/set_chat_label',
        translate_from_chat: "/funkey_chat/api/translate_message",
        translate_message: "/funkey_chat/api/translate_text",
        // bill
        query_review_order: '/funkey/api/query_review_order/',

        // other
        contact_list: '/funkey/api/ads_info',

        //export
        export_order: '/funkey/api/export_order',

        // search
        general_search: '/funkey_chat/api/general_search',
        // system notification
        get_announcements: '/funkey/api/get_announcements',

        get_issues_notification: '/funkey/api/get_issues_notification',

        get_room_standard_clean_fee: '/funkey/api/get_room_standard_clean_fee',


        // v2 -> model
        model_opt: '/funkey/api/v2/',
        action_task_batch: '/funkey/api/batch_action',
        okumasan: {
            assign_next_checkin_info: '/funkey/api/v2/OkmOrder/assign_next_checkin_info',
            batch_handle_cleaner_cost: '/funkey/api/v2/batch_handle_cleaner_cost',
            send_delivery_order: '/room_manage/api/send_delivery_order'
        },
        bill: {
            invalidateInvoice: '/funkey/api/v2/invalidate_invoice',
            makeInvoice: '/funkey/api/v2/make_invoice',
            sendInvoice: '/api/v2/invoices/mail/',
            cleaner: '/funkey/api/v2/get_cleaner_bill',
            checkAccounts: '/funkey/api/v2/check_accounts/',
        },
        // big data api
        big_data: {
            overview: '/funkey/api/bigdata_overview',
            rooms: '/funkey/api/bigdata_map_overview',
            order_analysis: '/funkey/api/v2/calculate_physicalroom_from_order'
        },

        getUploadInfo: '/file_service/get_upload_info',
        notifyFileUploadComplete: '/file_service/notify_file_upload_complete',

        createChecklistFromTemplate: '/room_manage/api/create_checklist_from_template',
        sync_listing_info: "/room_manage/api/sync_listing_info"
    },
    EXTERNAL_COMMENT: [
        {
            label: 'Booking cancelled as per the Local Laws of Japan',
            value: 'Booking cancelled as per the Local Laws of Japan'
        },
        {label: 'Booking cancelled without any charge', value: 'Booking cancelled without any charge'},
        {label: 'Booking cancelled but not full refunded', value: 'Booking cancelled but not full refunded'},
        {label: 'Booking cancelled with no refund', value: 'Booking cancelled with no refund'},
        {label: 'Guest extended the stay', value: 'Guest extended the stay'},
        {label: 'Guest shortened the stay', value: 'Guest shortened the stay'},
        {label: 'The number of guest increased', value: 'The number of guest increased'},
        {
            label: 'Booking cancelled caused by the host, 50% agency fee only',
            value: 'Booking cancelled caused by the host, 50% agency fee only'
        },
        {
            label: 'Booking cancelled because the account was blocked',
            value: 'Booking cancelled because the account was blocked'
        },
        {label: 'The agenty fee has not yet been applied', value: 'The agenty fee has not yet been applied'},
        {
            label: 'The reservation room was changed because of duplicated order',
            value: 'The reservation room was changed because of duplicated order'
        },
        {
            label: 'Return agency fee because of duplicated charge',
            value: 'Return agency fee because of duplicated charge'
        },
        {label: 'Listing facility problem refund', value: 'Listing facility problem refund'},
        {label: 'Host cleaning problem refund', value: 'Host cleaning problem refund'},
    ],
    ROOM_DEVICE: [
        // Amenities
        'essentials',
        'kitchen',
        'ac',
        'heating',
        'hair-dryer',
        'Air conditioning',
        'hangers',
        'iron',
        'washer',
        'dryer',
        'hot_water',
        'tv',
        'cable',
        'fireplace',
        'private-entrance',
        'private-living-room',
        'lock_on_bedroom_door',
        'shampoo',
        'bed_linens',
        'extra_pillows_and_blankets',
        'wireless_internet',
        'ethernet_connection',
        'pocket_wifi',
        'laptop-friendly'
    ],
    CHAT_TAGS: [
        {label: 'Dup. Order', value: 'Dup. Order', color: 'bg-danger', group: 'OPS;CS'},
        {label: 'Clean', value: 'Clean', color: 'bg-info', group: 'OKM'},
        {label: 'Urgent', value: 'Urgent', color: 'bg-success', group: 'OPS'},
        {label: 'Prop. Offline', value: 'Prop. Offline', color: 'bg-theme-dark', group: 'OPS'},
        {label: 'Acc. Banned', value: 'Acc. Banned', color: 'bg-warning', group: 'OPS'},
        {label: 'Re-enter Order', value: 'Re-enter Order', color: 'bg-primary', group: 'CS'},
        {label: 'Prop. Util.', value: 'Prop. Util.', color: 'bg-purple', group: 'CS'},
        {label: 'Other', value: 'Other', color: 'bg-theme-alt', group: 'CS'},
        {label: 'Keys', value: 'Keys', color: 'bg-success', group: 'OKM'},
        {label: 'Review', value: 'Review', color: 'bg-danger', group: 'CS'},
        {label: 'Prop. CM', value: 'Prop. CM', color: 'bg-warning', group: 'CM'},
    ],
    CHAT_LABEL_GROUP: {
        "OPS": ["Dup. Order", "Urgent", "Prop. Offline", "Acc. Banned"],
        "CS": ["Dup. Order", "Urgent", "Re-enter Order", "Prop. Util.", "Other", "Review"],
        "OKM": ["Clean", "Keys"],
        "CM": ["Prop. CM"]
    },
    CURRENCY: ['JPY', 'HKD', 'TWD', 'CNY', 'USD', 'THB'],
    BOOL_SELECT: [{label: 'YES', value: true}, {label: 'NO', value: false}],
    GROUPS: [
        {label: 'CS', value: 9},
        {label: 'OKUMASAN', value: 10},
        {label: 'CM', value: 11},
        {label: 'OPS', value: 12},
        {label: 'CRM', value: 13},
    ],
    CONTACT_TOOLS: ['wechat', 'line', 'whatsapp', 'tel', 'other'],
    ROOM_AREA_JAPAN: ["Tokyo", "Osaka", "Kyoto", "Kanagawa", "Okinawa"],
    ROOM_AREA_THAILAND: ["Bangkok"],
    // 对应所以平台
    PLATFORM: [
        {label: "airbnb_api", value: "airbnb_api"},
        {label: "airbnb", value: "airbnb"},
        {label: "expedia", value: "expedia"},
        {label: "agoda", value: "agoda"},
        {label: "booking", value: "booking"},
        {label: "zizaike", value: "zizaike"},
        {label: "asiayo", value: "asiayo"},
        {label: "tujia", value: "tujia"},
        {label: "zbj", value: "zbj"},
        {label: "onehome", value: "onehome"},
        {label: "xiaozhu", value: "xiaozhu"},
        {label: "homeaway", value: "homeaway"},
        {label: "offline", value: "offline"},
        {label: "waka", value: "waka"},
        {label: "ctrip", value: "ctrip"}
    ]
}
